package com.jxw.cloudpen.web.netty.Entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author ligang
 * @create 2025/3/18 15:27
 */
@Data
public class StreamData implements Serializable {
    //发送心跳信息
//        CONN=100
//        LOGIN_REQUEST = 0;  //登录请求
//        LOGIN_RESPONSE = 1; //登录响应
//        LOGINOUT_REQUEST = 2;  //登出请求
//        LOGINOUT_RESPONSE = 3; //登出响应
//        RECOGN_REQUEST = 4;    //打开google
//        RECOGN_RESPONSE = 5;   //打开google响应
//        RECOGN_REQUEST = 6;    //google 识别请求
//        RECOGN_RESPONSE = 7;   //google 识别响应
    //简化流程
//   OPEN_GOOGLE_SPEED = 1;  //开启google通道
//   SPEED_RECORD = 2; //识别语言


    private Integer type;

    private byte[] data;

    private String clientId;

    private String secretKey;

    private Integer loginResult;

    private String languageCode;

}
